package cn.tudo.egweibo2.mapper;


import cn.tudo.egweibo2.pojo.entity.Weibo;
import cn.tudo.egweibo2.pojo.vo.WeiboDetailVO;
import cn.tudo.egweibo2.pojo.vo.WeiboIndexVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WeiboMapper{

    int insertWeibo(Weibo weibo);

    List<WeiboIndexVO> selectIndex();

    WeiboDetailVO selectById(int id);
}
